package gameStructure;

import GUI.messageBox.*;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.logging.Level;
import java.util.logging.Logger;

public class gameStarter{
    public static void main(String args[]) throws IOException{
        System.out.println("To programa tha sinehisi se console mode (y/n):");
        InputStreamReader reader = new InputStreamReader(System.in);
        BufferedReader in = new BufferedReader(reader);
        try {
            String ch = in.readLine();
        } catch (IOException ex) {
            Logger.getLogger(gameStarter.class.getName()).log(Level.SEVERE, null, ex);
        }
        boolean y,n;
        do{
            System.out.println("To programa tha sinehisi se console mode (y/n):");
            String ch = in.readLine();
            y=ch.equalsIgnoreCase("y"); // Epistrefi true an to ch ine "y".
            n=ch.equalsIgnoreCase("n");
        }while(y || n);
        if (y) System.out.println("kalite i class pou ine ipeuthini gia tis litourgies tis console");
        if (n) {
           Object sk = new GUI.messageBox();
        }
    }
}

